﻿<%@ Page Title="Search Article" Language="C#" MasterPageFile="~/Web/bloglayout.Master" AutoEventWireup="true" CodeBehind="SearchArticle.aspx.cs" Inherits="pwblog.Web.SearchArticle" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="blogCPH" runat="server">
    <h2  class="bigtitle"><asp:Label ID="lblResult" runat="server" Text=""></asp:Label> Result</h2>
    <hr />
    <%--<asp:Repeater ID="articleRepeater" runat="server">
        <ItemTemplate>
        <div class="title_article">
            <h2><a href="<%# Eval("Link") %>"><%# Eval("Title") %></a></h2>
            <p> Write by <b><%# Eval("Creator") %></b>, <%# Eval("PubDate") %></p>
        </div>
        <div class="description_article">
            <p><%# Eval("Description") %></p>
        </div>
        </ItemTemplate>
    </asp:Repeater>--%>

        <asp:Repeater ID="articleRepeater" runat="server">
            <ItemTemplate>
            <div class="title_article">
                <h2 style="text-align:left"><a href="DetailsArticle.aspx?id=<%# Eval("Id") %>"><%# Eval("Name") %></a></h2>
                <p> Written by <b><%# Eval("UserName") %></b>, <%# Eval("DatePost") %></p>
            </div>
            <div class="description_article">
                <p><%# Eval("Description") %>...</p>
            </div>
            </ItemTemplate>
        </asp:Repeater>
</asp:Content>
